import React from 'react'
import { useParams } from 'react-router-dom'

export default function Three() {
  console.log(useParams())
  const { a, b } = useParams();
  return (
    <div>
      <h3>Three</h3>
      <p>a:{a}</p>
      <p>b:{b}</p>
    </div>
  )
}
